﻿using Hicap.QRCodeWarehouse.Processor.Model;
using System.Threading.Tasks;

namespace Hicap.QRCodeWarehouse.Processor.Service
{
    /// <summary>
    /// ICodeGenService
    /// </summary>
    public interface ICodeGenService
    {
        /// <summary>
        /// Response import datafile to db command action
        /// </summary>
        /// <param name="input">ImportCommandDto</param>
        /// <returns></returns>
        Task<ActionResult> DispatchCodeImportAction(ImportCommandDto input);

        /// <summary>
        /// Response generation code to db command action
        /// </summary>
        /// <param name="input">TaskCommandDto</param>
        /// <returns></returns>
        Task<ActionResult> DispatchCodeGenAction(TaskCommandDto input);

        void FinalFeedBackMessage(ActionResult result);

        void FinalImportFeedBackMessage(ActionResult result);
    }
}